package xyz.zhouzhaodong.crm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 申请表（学校和专业）
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-06-19
 */
public class Application implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 客户id
     */
    private String customerId;

    /**
     * 申请学校
     */
    private String applySchool;

    /**
     * 申请专业
     */
    private String applyMajor;

    /**
     * 类型（个人信息，合同，高校申请）
     */
    private String type;

    /**
     * 申请时间
     */
    private String applicationTime;

    /**
     * 申请状态（申请中，申请通过，申请失败）
     */
    private String status;

    /**
     * 预录取
     */
    private String preInscription;

    /**
     * 录取时间
     */
    private String admissionTime;

    /**
     * 通知书
     */
    private String notification;

    /**
     * 202
     */
    private String twoZeroTwo;

    /**
     * 顾问
     */
    private String adviser;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否有效（0有效，1无效）
     */
    private Integer flag;

    /**
     * 创建人id
     */
    private String createUser;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新人
     */
    private String updateUser;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getApplySchool() {
        return applySchool;
    }

    public void setApplySchool(String applySchool) {
        this.applySchool = applySchool;
    }

    public String getApplyMajor() {
        return applyMajor;
    }

    public void setApplyMajor(String applyMajor) {
        this.applyMajor = applyMajor;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getApplicationTime() {
        return applicationTime;
    }

    public void setApplicationTime(String applicationTime) {
        this.applicationTime = applicationTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPreInscription() {
        return preInscription;
    }

    public void setPreInscription(String preInscription) {
        this.preInscription = preInscription;
    }

    public String getAdmissionTime() {
        return admissionTime;
    }

    public void setAdmissionTime(String admissionTime) {
        this.admissionTime = admissionTime;
    }

    public String getNotification() {
        return notification;
    }

    public void setNotification(String notification) {
        this.notification = notification;
    }

    public String getTwoZeroTwo() {
        return twoZeroTwo;
    }

    public void setTwoZeroTwo(String twoZeroTwo) {
        this.twoZeroTwo = twoZeroTwo;
    }

    public String getAdviser() {
        return adviser;
    }

    public void setAdviser(String adviser) {
        this.adviser = adviser;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Application{" +
                "id='" + id + '\'' +
                ", customerId='" + customerId + '\'' +
                ", applySchool='" + applySchool + '\'' +
                ", applyMajor='" + applyMajor + '\'' +
                ", type='" + type + '\'' +
                ", applicationTime='" + applicationTime + '\'' +
                ", status='" + status + '\'' +
                ", preInscription='" + preInscription + '\'' +
                ", admissionTime='" + admissionTime + '\'' +
                ", notification='" + notification + '\'' +
                ", twoZeroTwo='" + twoZeroTwo + '\'' +
                ", adviser='" + adviser + '\'' +
                ", remark='" + remark + '\'' +
                ", flag=" + flag +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
